﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WMSProject.WangWeiHao.DTO;

namespace WMSProject.WangWeiHao
{
    public interface IReturnGoodsAppService
    {
        /// <summary>
        /// 显示退货信息
        /// </summary>
        /// <param name="SalesOrderCode">退货单号</param>
        /// <param name="ProductCode">销售单号</param>
        /// <param name="ProductName">产品单号</param>
        /// <returns>返回退货信息列表</returns>
        public Task<string> GetReturnService(string SalesOrderCode, string ProductCode, string ProductName);
        /// <summary>
        /// 显示单个退货信息
        /// </summary>
        /// <param name="id">id</param>
        /// <returns>返回退货信息实体</returns>
        public Task<ReturnGoodsDto> GetReturnGood(int id);
        /// <summary>
        /// 删除退货信息
        /// </summary>
        /// <param name="id">实体id</param>
        /// <returns>返回受影响行数</returns>
        public Task<int> DelReturnGood(int id);
    }

}
